package getAge;

import java.util.Scanner;

public class GetAge {
    private int age;
    public GetAge(int age){
        this.age = age;
    }
    public GetAge(){

    }
    public void getAge(int age)
    {
        this.age = age;
    }
    public void setAge() {
        if(this.age > 200){
            this.age = 200;
        }else if(this.age < 0){
            this.age = 0;
        }
    }

    public void printAge(){
        System.out.println(this.age);
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        GetAge age = new GetAge();
        age.getAge(a);
        age.setAge();
        age.printAge();
    }

}
